//
//  UserShopCarTool.h
//  jingdong
//
//  Created by 陈明光 on 2021/7/24.
//  Copyright © 2021 陈明光. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Goods.h"
NS_ASSUME_NONNULL_BEGIN

@interface UserShopCarTool : NSObject
@property (nonatomic, strong) NSMutableArray <Goods *> *shopCar;

+ (instancetype)sharedInstance;
- (void)addSupermarkProductToShopCar:(Goods *)goods;
- (void)removeFromProductShopCar:(Goods*)goods;
- (CGFloat)getShopCarGoodsPrice ;
- (NSInteger)getShopCarGoodsNumber;
- (BOOL)isEmpty;
@end

NS_ASSUME_NONNULL_END
